package com.qk.service;

import com.qk.common.PageResult;
import com.qk.entity.Role;

import java.util.List;

/**
 * ClassName: RoleService
 * Package: com.qk.service
 * Description:
 *
 * @Author zt
 * @Create 2025/7/27 21:53
 * @Version 1.0
 */
public interface RoleService {
    PageResult<Role> listRoles(String name, String label, Integer page, Integer pageSize);

    void delete(Integer id);

    void add(Role role);

    Role getById(Integer id);

    void update(Role role);

    List<Role> list();
}
